package com.airforce.utils;

import java.util.HashSet;
import java.util.List;

/**
 * Created by 半生瓜 on 2017/10/7.
 */
public class RemoveDuplicate {
    public static List removeDuplicate(List<String> list) {
        HashSet h = new HashSet(list);
        list.clear();
        list.addAll(h);
        return list;
    }
}
